﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace Handrise.CDCable.Business
{
    [Serializable]
    [EntityMapping(ListName = "mtdPatrolsplans", EntityName = "MtdPatrolsplanData", DataType = 1)]
    public class Plan
    {
        /// <summary>
        /// 任务计划ID
        /// </summary>
        [EntityMapping(ColumnName = "fid")]
        public string PlanID { get; set; }

        /// <summary>
        /// 任务标题
        /// </summary>
        [EntityMapping(ColumnName = "fcontent")]
        public string Title { get; set; }

        /// <summary>
        /// 任务开始时间
        /// </summary>
        [EntityMapping(ColumnName = "fstartdate")]
        public DateTime? StartDateTime { get; set; }

        /// <summary>
        /// 任务结束时间
        /// </summary>
        [EntityMapping(ColumnName = "fenddate")]
        public DateTime? EndDateTime { get; set; }

        /// <summary>
        /// 任务范围
        /// </summary>
        [EntityMapping(ColumnName = "frange")]
        public string Range { get; set; }

        /// <summary>
        ///  任务内容
        /// </summary>
        [EntityMapping(ColumnName = "fcontent")]
        public string Content { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        [EntityMapping(ColumnName = "fexcutestatus")]
        public string State { get; set; }

        /// <summary>
        /// 所属用户
        /// </summary>
        public string UserName { get; set; }
    }
}
